Skip to content

Conversation

@Equalizer5118
Copy link
Member

@Equalizer5118 Equalizer5118 commented Jan 13, 2026

Adds a section to Modding that gives more info about Linux compat and how to make tools work thru Wine.

  • Add basic info
  • Add hammer/hlmv article
  • Table with basic compatibility information
  • Properly link to mentioned tools (specifically wine website)
  • add info about installing wine - not detailed, just small info

Still a WIP

Added section and overview page
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 13, 2026

Deploying wiki with  Cloudflare Pages  Cloudflare Pages

Latest commit: b701420
Status: ✅  Deploy successful!
Preview URL: https://acbcb545.wiki-5tv.pages.dev
Branch Preview URL: https://linux-usage.wiki-5tv.pages.dev

View logs

@JJL772
Copy link
Member

JJL772 commented Jan 18, 2026

You should also add an entry to that table for the engine tools (particle editor, material editor, etc.), since those are natively supported.

@Equalizer5118 Equalizer5118 marked this pull request as ready for review January 24, 2026 03:49
Added row about ps1 scripts, removed a bunch of useless spaces, restructured note on tools page
Maybe shouldnt be writing wiki articles whilst sleep deprived and while burnt out from school
| vbsp/vvis/vrad | Native | Only for use in shell scripts/wrappers. When running Hammer under Wine, make sure to point to the Win64 versions for compatibility. |
| `.ps1` scripts | Native | Requires [Powershell](https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-linux?view=powershell-7.5) to be installed. |
| All engine tools (particle editor, material editor, etc)| Native | None |
| SDK launcher | Native | Must use version in `Portal 2 Community Edition/bin/linux64`, launching from Steam will launch the .exe version. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this actually the case? ref'ing craftable's comment seems like not, but I'm unable to test it

This process uses [Wine](https://www.winehq.org/), a program which acts as a translation layer that converts Windows calls into Linux calls, without the need for emulation. Wine can be installed using your distro's appropriate package manager, typically under the package name `wine`, or from Wine's website.

>[!CAUTION]
>Since Wine 11, both the 32 and 64 bit packages of wine have been combined into one, so you only need to install the `wine` package for the tools to run properly. Installing the seperate outdated 32 and 64 bit packages is not recommended and will likely cause issues.
Copy link
Member

@ENDERZOMBI102 ENDERZOMBI102 Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumes the user is running either Debian or a derivative, on other distros (Fedora, Arch, Alpine) this is not the case.

If using a Virtual Machine or emulator such as WinBoat, the tools should work as-is, apart from any configuration file changes.

## Running Windows Tools
This section uses Hammer as an example, but applies also to HLMV and Faceposer. Just replace all instaces of `hammer.exe` with the appropriate executable.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo, should be instances


### Creating a Shell script
For ease of use, you may find it useful to create a Shell (`.sh`) script that automatically runs Hammer under Wine. Here is an example of a script for Portal 2: Community Edition named `hammer.sh` located in `/bin/linux64/`:
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the shebang (#!/usr/bin/env sh) is missing here


For HLMV/Faceposer or if you only have one config for Hammer, first try making sure that the path specified in your `-game` option exists and that a `gameinfo.txt` file exsits. If it does exist but `gameinfo.txt` still cannot be found, try using an absolute path. This should fix most cases of broken paths. If this does not fix your issue, navigate to `<game>/hammer/cfg` and either delete or rename `gameconfig.txt`. This will recreate your game configuration file next time you start Hammer, and will likely fix all issues with broken paths. Alternatively, you can manually edit the file to alter the paths to their correct location.
>[!NOTE]
>Wine prefixes all paths with a fake drive letter, `Z:` by default, to maintiain compatibility with Windows filesystems. Make sure to add this to the beginning of all your paths for them to work correctly.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each loaded partition has its own Wine drive, Z: is usually the root one.

Copy link
Member

@ENDERZOMBI102 ENDERZOMBI102 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mostly for the typos, almost everything else is a nitpick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants